package org.example.builderPattern;

/**
 * @Author : 叶荻风
 * @create : 2024/6/7 11:20
 */
public class UserInvoke {
    public static void main(String[] args) {
        RabbitMqClient rc = new RabbitMqClient.Builder().setHost("dasd").setExchange("465").setQueue("dasd")
                .setNum((t)-> t.getNum() + 1).build();
        rc.sendMessage("dasdsadada");
    }
}
